package com.qingmu.club.minaapi.plus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 俱乐部人员
 * </p>
 *
 * @author duke
 * @since 2019-12-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ClubStaff extends Model<ClubStaff> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    /**
     * 人员姓名
     */
    private String staffName;

    /**
     * 人员手机号码(账户)
     */
    private String staffMobile;

    /**
     * 是否教练1-是0否
     */
    private Integer isCoach;

    /**
     * 是否课程顾问1-是0-否
     */
    private Integer isCounselor;

    /**
     * 是否管理层1-是0-否
     */
    private Integer isManager;

    /**
     * 是否店主1-是0-否
     */
    private Integer isShopowner;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 使用状态1-正常0-不使用
     */
    private Integer status;

    /**
     * 管理平台B端登录密码
     */
    private String sysPassword;

    /**
     * 俱乐部id
     */
    private String clubId;

    /**
     * 俱乐部名称
     */
    private String clubName;

    /**
     * 人员资料描述
     */
    private String staffDesc;

    /**
     * 人员性别
     */
    private String staffSex;

    /**
     * 所在省
     */
    private String province;

    /**
     * 所在市
     */
    private String city;

    /**
     * 所在区
     */
    private String area;

    /**
     * 头像url
     */
    private String avatar;

    /**
     * 二维码
     */
    private String qrCode;

    /**
     * 人员资料图片
     */
    private String staffDescImg;

    /**
     * 组合地址(省市区)
     */
    private String jointAddress;

    /**
     * 默认门店id
     */
    private String defaultShopId;

    /**
     * 默认门店名称
     */
    private String defaultShopName;

    /**
     * 是否开通中台账号1-是0-否
     */
    private Integer isAdmin;


    public static final String ID = "id";

    public static final String STAFF_NAME = "staff_name";

    public static final String STAFF_MOBILE = "staff_mobile";

    public static final String IS_COACH = "is_coach";

    public static final String IS_COUNSELOR = "is_counselor";

    public static final String IS_MANAGER = "is_manager";

    public static final String IS_SHOPOWNER = "is_shopowner";

    public static final String CREATE_TIME = "create_time";

    public static final String STATUS = "status";

    public static final String SYS_PASSWORD = "sys_password";

    public static final String CLUB_ID = "club_id";

    public static final String CLUB_NAME = "club_name";

    public static final String STAFF_DESC = "staff_desc";

    public static final String STAFF_SEX = "staff_sex";

    public static final String PROVINCE = "province";

    public static final String CITY = "city";

    public static final String AREA = "area";

    public static final String AVATAR = "avatar";

    public static final String QR_CODE = "qr_code";

    public static final String STAFF_DESC_IMG = "staff_desc_img";

    public static final String JOINT_ADDRESS = "joint_address";

    public static final String DEFAULT_SHOP_ID = "default_shop_id";

    public static final String DEFAULT_SHOP_NAME = "default_shop_name";

    public static final String IS_ADMIN = "is_admin";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
